<?php
class ApplyrepModel extends Orm_Base{
    public $table = 'apply_rep';
    public $field = array(
        'rep_id' => array('type' => "int(11) unsigned",'comment' => ''),
        'id' => array('type' => "int(11) ",'comment' => ''),
        'rep_name' => array('type' => "varchar(20)",'comment' => ''),
        'rep_type' => array('type' => "tinyint(1)",'coment' => ''),
        'rep_time' => array('type' => "int(10)",'coment' => ''),
        'rep_rea' => array('type' => "varchar(50)",'coment' => ''),
        'rep_status' => array('type' => "tinyint(2)",'coment' => ''),
        'rep_sapre' => array('type' => "varchar(20)",'coment' => ''),
        'departmnt' => array('type' => "int(11)",'coment'=>''),
    );
    public $pk = 'rep_id';
}
?>
